<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="JS/1.js"></script>
</head>
<body>
<button onclick="test()">click!</button>
<script type="text/javascript">
    var str="Is this all there is?";
    var patt1=/[a-h]/gi;
    document.write(str.match(patt1));
</script>
</body>
</html>